﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000423 RID: 1059
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class EKMLFCPKGPD : IMessage<EKMLFCPKGPD>, IMessage, IEquatable<EKMLFCPKGPD>, IDeepCloneable<EKMLFCPKGPD>, IBufferMessage
	{
		// Token: 0x17000DA0 RID: 3488
		// (get) Token: 0x06002F89 RID: 12169 RVA: 0x0008336A File Offset: 0x0008156A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<EKMLFCPKGPD> Parser
		{
			get
			{
				return EKMLFCPKGPD._parser;
			}
		}

		// Token: 0x17000DA1 RID: 3489
		// (get) Token: 0x06002F8A RID: 12170 RVA: 0x00083371 File Offset: 0x00081571
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return EKMLFCPKGPDReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000DA2 RID: 3490
		// (get) Token: 0x06002F8B RID: 12171 RVA: 0x00083383 File Offset: 0x00081583
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return EKMLFCPKGPD.Descriptor;
			}
		}

		// Token: 0x06002F8C RID: 12172 RVA: 0x0008338A File Offset: 0x0008158A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EKMLFCPKGPD()
		{
		}

		// Token: 0x06002F8D RID: 12173 RVA: 0x00083392 File Offset: 0x00081592
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EKMLFCPKGPD(EKMLFCPKGPD other) : this()
		{
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06002F8E RID: 12174 RVA: 0x000833AB File Offset: 0x000815AB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EKMLFCPKGPD Clone()
		{
			return new EKMLFCPKGPD(this);
		}

		// Token: 0x06002F8F RID: 12175 RVA: 0x000833B3 File Offset: 0x000815B3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as EKMLFCPKGPD);
		}

		// Token: 0x06002F90 RID: 12176 RVA: 0x000833C1 File Offset: 0x000815C1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(EKMLFCPKGPD other)
		{
			return other != null && (other == this || object.Equals(this._unknownFields, other._unknownFields));
		}

		// Token: 0x06002F91 RID: 12177 RVA: 0x000833E0 File Offset: 0x000815E0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06002F92 RID: 12178 RVA: 0x00083406 File Offset: 0x00081606
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06002F93 RID: 12179 RVA: 0x0008340E File Offset: 0x0008160E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06002F94 RID: 12180 RVA: 0x00083417 File Offset: 0x00081617
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06002F95 RID: 12181 RVA: 0x00083430 File Offset: 0x00081630
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06002F96 RID: 12182 RVA: 0x00083456 File Offset: 0x00081656
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(EKMLFCPKGPD other)
		{
			if (other == null)
			{
				return;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06002F97 RID: 12183 RVA: 0x00083473 File Offset: 0x00081673
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06002F98 RID: 12184 RVA: 0x0008347C File Offset: 0x0008167C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			while (input.ReadTag() != 0U)
			{
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x040012C7 RID: 4807
		private static readonly MessageParser<EKMLFCPKGPD> _parser = new MessageParser<EKMLFCPKGPD>(() => new EKMLFCPKGPD());

		// Token: 0x040012C8 RID: 4808
		private UnknownFieldSet _unknownFields;
	}
}
